home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / MATHS / RLAB / RLAB125.ZIP / !RLaB / help_sz / strsplt < prev    next >
Text File  |  1995-02-04  |  568b  |  28 lines

  1. strsplt:
  2.  
  3. Syntax:    strsplt ( STR )
  4.     strsplt ( STR , FW )
  5.  
  6. Description:
  7.  
  8.     Strsplt returns a row matrix that contains a single character
  9.     string as each element. The resulting matrix has as many
  10.     columns as the input argument had characters.
  11.  
  12.     Example:
  13.  
  14.     > smat = strsplt( "string" )
  15.      smat =
  16.     s  t  r  i  n  g  
  17.     > show(smat)
  18.        name:      smat    
  19.        class:     matrix  
  20.        type:      string  
  21.          nr:      1       
  22.          nc:      6       
  23.  
  24.     The second, and optional, argument to strsplt, FW forces
  25.     strsplt to split STR into FW length strings.
  26.  
  27. See also: getline
  28.